package com.xuecheng.learning.service;

import com.xuecheng.base.model.PageResult;
import com.xuecheng.learning.model.dto.MyCourseTableParams;
import com.xuecheng.learning.model.dto.XcChooseCourseDto;
import com.xuecheng.learning.model.dto.XcCourseTablesDto;
import com.xuecheng.learning.model.po.XcCourseTables;

public interface MyCourseTablesService {
    /**
     * 添加课程到选课表
     * @param userId 用户id
     * @param courseId 课程id
     * @return
     */
     XcChooseCourseDto addChooseCourse(String userId, Long courseId);


     XcCourseTablesDto getLearningStatus(String userId, Long courseId);
     boolean saveChooseCourseSuccess(String chooseCourseId);


    PageResult<XcCourseTables> mycourestabls(MyCourseTableParams params);
}
